﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace BanHangCshap.BaoCaoTongHop
{
    public partial class frmThongbaoHangtonTruoc : Form
    {
        string xgSoluong;
        string xgGianhap;
        string xgTieude;
        int xgFx;
        int xgFy;
        public frmThongbaoHangtonTruoc(string xlSoluong,string xlGianhap,string xlTieude,int xlFx, int xlFy)
        {
            this.xgSoluong = xlSoluong;
            this.xgGianhap = xlGianhap;
            this.xgTieude = xlTieude;
            this.xgFx = xlFx;
            this.xgFy = xlFy;
            InitializeComponent();
        }

        private void frmThongbaoHangtonTruoc_Load(object sender, EventArgs e)
        {
            this.Text = xgTieude;
            lblSoluong.Text = xgSoluong;
            lblGianhap.Text = xgGianhap;
            this.Location = new Point(xgFx+1, xgFy+23);
        }

        private void btnDong_Click(object sender, EventArgs e)
        {
            this.Close();
        }
    }
}
